<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>合并单元格</title>
	</head>
	<body>
		<!--
		水平合并：colspan
		垂直合并：rowspan
		-->
		<table border="1">
			<caption>学生情况表</caption>
			<tr>
				<th rowspan="2">学号</th>
				<th colspan="3">个人信息</th>
				<th colspan="2">入学信息</th>
			</tr>
			<tr> 
				<th>姓名</th>
				<th>性别</th>
				<th>年龄</th>
				<th>班级</th>
			</tr>
			<tr>
				<td>007</td>
				<td>张三</td>
				<td>女</td>
				<td>20</td>
				<td>三</td>
			</tr>
		</table>
	</body>
</html>
